home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / mel / mel-q.elc.z / mel-q.elc
Emacs Compiled Lisp  |  1998-05-21  |  7.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 30 3a 31 38 20 31 | 39 39 38 0a 3b 3b 3b 20 |:50:18 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 6d 65 6c 2f |s-20.3/l|isp/mel/|
|000000a0| 6d 65 6c 2d 71 2e 65 6c | 0a 3b 3b 3b 20 65 6d 61 |mel-q.el|.;;; ema|
|000000b0| 63 73 20 76 65 72 73 69 | 6f 6e 20 32 30 2e 34 20 |cs versi|on 20.4 |
|000000c0| 22 45 6d 65 72 61 6c 64 | 22 20 58 45 6d 61 63 73 |"Emerald|" XEmacs|
|000000d0| 20 20 4c 75 63 69 64 2e | 0a 3b 3b 3b 20 62 79 74 | Lucid.|.;;; byt|
|000000e0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 32 2e |ecomp ve|rsion 2.|
|000000f0| 32 35 20 58 45 6d 61 63 | 73 3b 20 32 32 2d 4d 61 |25 XEmac|s; 22-Ma|
|00000100| 72 2d 39 36 2e 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 |r-96..;;|; optimi|
|00000110| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|00000120| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|00000130| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|00000140| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000150| 6d 61 63 73 20 31 39 2e | 0a 0a 28 69 66 20 28 61 |macs 19.|..(if (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000170| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000180| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000190| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|000001a0| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|000001b0| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|000001c0| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|000001d0| 20 22 32 30 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "20")))|. (er|
|000001e0| 72 6f 72 20 22 60 6d 65 | 6c 2d 71 2e 65 6c 27 20 |ror "`me|l-q.el' |
|000001f0| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|00000200| 20 45 6d 61 63 73 20 32 | 30 22 29 29 0a 0a 28 6f | Emacs 2|0"))..(o|
|00000210| 72 20 28 62 6f 75 6e 64 | 70 20 27 63 75 72 72 65 |r (bound|p 'curre|
|00000220| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 29 20 28 73 |nt-load-|list) (s|
|00000230| 65 74 71 20 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |etq curr|ent-load|
|00000240| 2d 6c 69 73 74 20 6e 69 | 6c 29 29 0a 0a 0a 28 62 |-list ni|l))...(b|
|00000250| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 88 c2 13 |yte-code| "..!...|
|00000260| c3 0c 42 14 c0 87 22 20 | 5b 72 65 71 75 69 72 65 |..B..." |[require|
|00000270| 20 65 6d 75 20 22 30 31 | 32 33 34 35 36 37 38 39 | emu "01|23456789|
|00000280| 41 42 43 44 45 46 22 20 | 71 75 6f 74 65 64 2d 70 |ABCDEF" |quoted-p|
|00000290| 72 69 6e 74 61 62 6c 65 | 2d 68 65 78 2d 63 68 61 |rintable|-hex-cha|
|000002a0| 72 73 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |rs curre|nt-load-|
|000002b0| 6c 69 73 74 5d 20 32 29 | 0a 28 64 65 66 61 6c 69 |list] 2)|.(defali|
|000002c0| 61 73 20 27 71 75 6f 74 | 65 64 2d 70 72 69 6e 74 |as 'quot|ed-print|
|000002d0| 61 62 6c 65 2d 71 75 6f | 74 65 2d 63 68 61 72 20 |able-quo|te-char |
|000002e0| 23 5b 28 63 68 61 72 61 | 63 74 65 72 29 20 22 c0 |#[(chara|cter) ".|
|000002f0| c1 5c 6e c3 0c c5 5c 22 | 48 21 c1 5c 6e c6 0c c7 |.\n...\"|H!.\n...|
|00000300| 5c 22 48 21 51 87 22 20 | 5b 22 3d 22 20 63 68 61 |\"H!Q." |["=" cha|
|00000310| 72 2d 74 6f 2d 73 74 72 | 69 6e 67 20 71 75 6f 74 |r-to-str|ing quot|
|00000320| 65 64 2d 70 72 69 6e 74 | 61 62 6c 65 2d 68 65 78 |ed-print|able-hex|
|00000330| 2d 63 68 61 72 73 20 61 | 73 68 20 63 68 61 72 61 |-chars a|sh chara|
|00000340| 63 74 65 72 20 2d 34 20 | 6c 6f 67 61 6e 64 20 31 |cter -4 |logand 1|
|00000350| 35 5d 20 37 5d 29 0a 28 | 62 79 74 65 2d 63 6f 64 |5] 7]).(|byte-cod|
|00000360| 65 20 22 c0 c1 4e c2 73 | ac 85 c3 c4 c0 5c 22 88 |e "..N.s|.....\".|
|00000370| c5 c0 c1 c6 23 87 22 20 | 5b 71 75 6f 74 65 64 2d |....#." |[quoted-|
|00000380| 70 72 69 6e 74 61 62 6c | 65 2d 71 75 6f 74 65 2d |printabl|e-quote-|
|00000390| 63 68 61 72 20 62 79 74 | 65 2d 6f 70 74 69 6d 69 |char byt|e-optimi|
|000003a0| 7a 65 72 20 28 6e 69 6c | 20 62 79 74 65 2d 63 6f |zer (nil| byte-co|
|000003b0| 6d 70 69 6c 65 2d 69 6e | 6c 69 6e 65 2d 65 78 70 |mpile-in|line-exp|
|000003c0| 61 6e 64 29 20 65 72 72 | 6f 72 20 22 25 73 20 61 |and) err|or "%s a|
|000003d0| 6c 72 65 61 64 79 20 68 | 61 73 20 61 20 62 79 74 |lready h|as a byt|
|000003e0| 65 2d 6f 70 74 69 6d 69 | 7a 65 72 2c 20 63 61 6e |e-optimi|zer, can|
|000003f0| 27 74 20 6d 61 6b 65 20 | 69 74 20 69 6e 6c 69 6e |'t make |it inlin|
|00000400| 65 22 20 70 75 74 20 62 | 79 74 65 2d 63 6f 6d 70 |e" put b|yte-comp|
|00000410| 69 6c 65 2d 69 6e 6c 69 | 6e 65 2d 65 78 70 61 6e |ile-inli|ne-expan|
|00000420| 64 5d 20 34 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |d] 4).(d|efalias |
|00000430| 27 71 75 6f 74 65 64 2d | 70 72 69 6e 74 61 62 6c |'quoted-|printabl|
|00000440| 65 2d 69 6e 74 65 72 6e | 61 6c 2d 65 6e 63 6f 64 |e-intern|al-encod|
|00000450| 65 2d 72 65 67 69 6f 6e | 20 23 5b 28 73 74 61 72 |e-region| #[(star|
|00000460| 74 20 65 6e 64 29 20 22 | 8a 8c 08 09 7d 88 08 62 |t end) "|....}..b|
|00000470| 88 c2 c3 1c 1d 60 64 57 | 85 a9 00 0d c6 59 ab 87 |.....`dW|.....Y..|
|00000480| c7 63 88 c2 15 aa 6e c8 | c9 21 ab 8e ca cb 21 88 |.c....n.|.!....!.|
|00000490| cc cd 21 88 0d ce 5c 5c | 15 aa 5b c8 cf 21 ab 8d |..!...\\|..[..!..|
|000004a0| cd 75 88 c7 63 88 cd 75 | 88 c2 15 aa 49 60 66 89 |.u..c..u|....I`f.|
|000004b0| 1e 10 d1 55 ab 87 cd 75 | 88 c2 15 aa d1 0e 10 d2 |...U...u|........|
|000004c0| 55 ac 92 d3 0e 10 58 ab | 94 0e 10 d4 55 ac 8e 0e |U.....X.|....U...|
|000004d0| 10 d5 57 ab 88 cd 75 88 | 0d 54 15 aa b1 0d d6 59 |..W...u.|.T.....Y|
|000004e0| ab 87 c7 63 88 c2 15 aa | a5 d7 cd 21 88 0e 10 1e |...c....|...!....|
|000004f0| 18 d9 da 0e 1b dc 0e 18 | dd 5c 22 48 21 da 0e 1b |........|.\"H!...|
|00000500| de 0e 18 df 5c 22 48 21 | 51 29 63 88 0d e0 5c 5c |....\"H!|Q)c...\\|
|00000510| 15 29 82 0d 00 2c 87 22 | 20 5b 73 74 61 72 74 20 |.)...,."| [start |
|00000520| 65 6e 64 20 30 20 6e 69 | 6c 20 65 6e 61 62 6c 65 |end 0 ni|l enable|
|00000530| 2d 6d 75 6c 74 69 62 79 | 74 65 2d 63 68 61 72 61 |-multiby|te-chara|
|00000540| 63 74 65 72 73 20 63 6f | 6c 20 37 35 20 22 3d 5c |cters co|l 75 "=\|
|00000550| 6e 22 20 6c 6f 6f 6b 69 | 6e 67 2d 61 74 20 22 5e |n" looki|ng-at "^|
|00000560| 46 72 6f 6d 20 22 20 72 | 65 70 6c 61 63 65 2d 6d |From " r|eplace-m|
|00000570| 61 74 63 68 20 22 3d 34 | 36 72 6f 6d 20 22 20 62 |atch "=4|6rom " b|
|00000580| 61 63 6b 77 61 72 64 2d | 63 68 61 72 20 31 20 36 |ackward-|char 1 6|
|00000590| 20 22 5b 20 09 5d 5c 6e | 22 20 63 68 72 20 3f 5c | "[ .]\n|" chr ?\|
|000005a0| 6e 20 3f 5c 74 20 33 32 | 20 3f 5c 3d 20 31 32 37 |n ?\t 32| ?\= 127|
|000005b0| 20 37 33 20 64 65 6c 65 | 74 65 2d 63 68 61 72 20 | 73 dele|te-char |
|000005c0| 63 68 61 72 61 63 74 65 | 72 20 22 3d 22 20 63 68 |characte|r "=" ch|
|000005d0| 61 72 2d 74 6f 2d 73 74 | 72 69 6e 67 20 71 75 6f |ar-to-st|ring quo|
|000005e0| 74 65 64 2d 70 72 69 6e | 74 61 62 6c 65 2d 68 65 |ted-prin|table-he|
|000005f0| 78 2d 63 68 61 72 73 20 | 61 73 68 20 2d 34 20 6c |x-chars |ash -4 l|
|00000600| 6f 67 61 6e 64 20 31 35 | 20 33 5d 20 38 5d 29 0a |ogand 15| 3] 8]).|
|00000610| 23 40 36 37 20 2a 6c 69 | 73 74 20 6f 66 20 71 75 |#@67 *li|st of qu|
|00000620| 6f 74 65 64 2d 70 72 69 | 6e 74 61 62 6c 65 20 65 |oted-pri|ntable e|
|00000630| 6e 63 6f 64 65 72 20 70 | 72 6f 67 72 61 6d 20 6e |ncoder p|rogram n|
|00000640| 61 6d 65 20 61 6e 64 20 | 69 74 73 20 61 72 67 75 |ame and |its argu|
|00000650| 6d 65 6e 74 73 2e 1f 0a | 28 64 65 66 76 61 72 20 |ments...|(defvar |
|00000660| 71 75 6f 74 65 64 2d 70 | 72 69 6e 74 61 62 6c 65 |quoted-p|rintable|
|00000670| 2d 65 78 74 65 72 6e 61 | 6c 2d 65 6e 63 6f 64 65 |-externa|l-encode|
|00000680| 72 20 27 28 22 6d 6d 65 | 6e 63 6f 64 65 22 20 22 |r '("mme|ncode" "|
|00000690| 2d 71 22 29 20 28 23 24 | 20 2e 20 2d 31 35 35 37 |-q") (#$| . -1557|
|000006a0| 29 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 71 75 |)).(defa|lias 'qu|
|000006b0| 6f 74 65 64 2d 70 72 69 | 6e 74 61 62 6c 65 2d 65 |oted-pri|ntable-e|
|000006c0| 78 74 65 72 6e 61 6c 2d | 65 6e 63 6f 64 65 2d 72 |xternal-|encode-r|
|000006d0| 65 67 69 6f 6e 20 23 5b | 28 73 74 61 72 74 20 65 |egion #[|(start e|
|000006e0| 6e 64 29 20 22 8a 8c 08 | 09 7d 88 c2 c3 89 1c 1d |nd) "...|.}......|
|000006f0| 1e 06 c7 c8 08 09 0e 09 | 40 ca 89 c2 0e 09 41 26 |........|@.....A&|
|00000700| 08 88 2b 65 62 88 cb cc | c2 ca 23 ad 86 cd ce 21 |..+eb...|..#....!|
|00000710| 88 aa 73 2a 87 22 20 5b | 73 74 61 72 74 20 65 6e |..s*." [|start en|
|00000720| 64 20 6e 69 6c 20 62 69 | 6e 61 72 79 20 63 6f 64 |d nil bi|nary cod|
|00000730| 69 6e 67 2d 73 79 73 74 | 65 6d 2d 66 6f 72 2d 77 |ing-syst|em-for-w|
|00000740| 72 69 74 65 20 63 6f 64 | 69 6e 67 2d 73 79 73 74 |rite cod|ing-syst|
|00000750| 65 6d 2d 66 6f 72 2d 72 | 65 61 64 20 73 65 6c 65 |em-for-r|ead sele|
|00000760| 63 74 69 76 65 2d 64 69 | 73 70 6c 61 79 20 61 70 |ctive-di|splay ap|
|00000770| 70 6c 79 20 63 61 6c 6c | 2d 70 72 6f 63 65 73 73 |ply call|-process|
|00000780| 2d 72 65 67 69 6f 6e 20 | 71 75 6f 74 65 64 2d 70 |-region |quoted-p|
|00000790| 72 69 6e 74 61 62 6c 65 | 2d 65 78 74 65 72 6e 61 |rintable|-externa|
|000007a0| 6c 2d 65 6e 63 6f 64 65 | 72 20 74 20 72 65 2d 73 |l-encode|r t re-s|
|000007b0| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 22 0d |earch-fo|rward ".|
|000007c0| 24 22 20 72 65 70 6c 61 | 63 65 2d 6d 61 74 63 68 |$" repla|ce-match|
|000007d0| 20 22 22 5d 20 39 5d 29 | 0a 23 40 31 33 37 20 2a | ""] 9])|.#@137 *|
|000007e0| 6c 69 6d 69 74 20 73 69 | 7a 65 20 74 6f 20 75 73 |limit si|ze to us|
|000007f0| 65 20 69 6e 74 65 72 6e | 61 6c 20 71 75 6f 74 65 |e intern|al quote|
|00000800| 64 2d 70 72 69 6e 74 61 | 62 6c 65 20 65 6e 63 6f |d-printa|ble enco|
|00000810| 64 65 72 2e 0a 49 66 20 | 73 69 7a 65 20 6f 66 20 |der..If |size of |
|00000820| 69 6e 70 75 74 20 74 6f | 20 65 6e 63 6f 64 65 20 |input to| encode |
|00000830| 69 73 20 6c 61 72 67 65 | 72 20 74 68 61 6e 20 74 |is large|r than t|
|00000840| 68 69 73 20 6c 69 6d 69 | 74 2c 0a 65 78 74 65 72 |his limi|t,.exter|
|00000850| 6e 61 6c 20 65 6e 63 6f | 64 65 72 20 69 73 20 63 |nal enco|der is c|
|00000860| 61 6c 6c 65 64 2e 1f 0a | 28 64 65 66 76 61 72 20 |alled...|(defvar |
|00000870| 71 75 6f 74 65 64 2d 70 | 72 69 6e 74 61 62 6c 65 |quoted-p|rintable|
|00000880| 2d 69 6e 74 65 72 6e 61 | 6c 2d 65 6e 63 6f 64 69 |-interna|l-encodi|
|00000890| 6e 67 2d 6c 69 6d 69 74 | 20 28 62 79 74 65 2d 63 |ng-limit| (byte-c|
|000008a0| 6f 64 65 20 22 c0 c1 21 | ab 87 c0 c2 21 ab 82 c3 |ode "..!|....!...|
|000008b0| 87 c4 c5 21 88 c6 c7 21 | ab 82 c8 87 c9 ca 21 88 |...!...!|......!.|
|000008c0| cb 87 22 20 5b 66 65 61 | 74 75 72 65 70 20 78 65 |.." [fea|turep xe|
|000008d0| 6d 61 63 73 20 6d 75 6c | 65 20 30 20 72 65 71 75 |macs mul|e 0 requ|
|000008e0| 69 72 65 20 66 69 6c 65 | 2d 64 65 74 65 63 74 20 |ire file|-detect |
|000008f0| 65 78 65 63 2d 69 6e 73 | 74 61 6c 6c 65 64 2d 70 |exec-ins|talled-p|
|00000900| 20 22 6d 6d 65 6e 63 6f | 64 65 22 20 31 30 30 30 | "mmenco|de" 1000|
|00000910| 20 6d 65 73 73 61 67 65 | 20 22 44 6f 6e 27 74 20 | message| "Don't |
|00000920| 66 6f 75 6e 64 20 65 78 | 74 65 72 6e 61 6c 20 65 |found ex|ternal e|
|00000930| 6e 63 6f 64 65 72 20 66 | 6f 72 20 51 75 6f 74 65 |ncoder f|or Quote|
|00000940| 64 2d 50 72 69 6e 74 61 | 62 6c 65 21 22 20 6e 69 |d-Printa|ble!" ni|
|00000950| 6c 5d 20 32 29 20 28 23 | 24 20 2e 20 2d 32 30 31 |l] 2) (#|$ . -201|
|00000960| 35 29 29 0a 23 40 34 31 | 36 20 45 6e 63 6f 64 65 |5)).#@41|6 Encode|
|00000970| 20 63 75 72 72 65 6e 74 | 20 72 65 67 69 6f 6e 20 | current| region |
|00000980| 62 79 20 71 75 6f 74 65 | 64 2d 70 72 69 6e 74 61 |by quote|d-printa|
|00000990| 62 6c 65 2e 0a 53 54 41 | 52 54 20 61 6e 64 20 45 |ble..STA|RT and E|
|000009a0| 4e 44 20 61 72 65 20 62 | 75 66 66 65 72 20 70 6f |ND are b|uffer po|
|000009b0| 73 69 74 69 6f 6e 73 2e | 0a 54 68 69 73 20 66 75 |sitions.|.This fu|
|000009c0| 6e 63 74 69 6f 6e 20 63 | 61 6c 6c 73 20 69 6e 74 |nction c|alls int|
|000009d0| 65 72 6e 61 6c 20 71 75 | 6f 74 65 64 2d 70 72 69 |ernal qu|oted-pri|
|000009e0| 6e 74 61 62 6c 65 20 65 | 6e 63 6f 64 65 72 20 69 |ntable e|ncoder i|
|000009f0| 66 20 73 69 7a 65 20 6f | 66 0a 72 65 67 69 6f 6e |f size o|f.region|
|00000a00| 20 69 73 20 73 6d 61 6c | 6c 65 72 20 74 68 61 6e | is smal|ler than|
|00000a10| 20 60 71 75 6f 74 65 64 | 2d 70 72 69 6e 74 61 62 | `quoted|-printab|
|00000a20| 6c 65 2d 69 6e 74 65 72 | 6e 61 6c 2d 65 6e 63 6f |le-inter|nal-enco|
|00000a30| 64 69 6e 67 2d 6c 69 6d | 69 74 27 2c 0a 6f 74 68 |ding-lim|it',.oth|
|00000a40| 65 72 77 69 73 65 20 69 | 74 20 63 61 6c 6c 73 20 |erwise i|t calls |
|00000a50| 65 78 74 65 72 6e 61 6c | 20 71 75 6f 74 65 64 2d |external| quoted-|
|00000a60| 70 72 69 6e 74 61 62 6c | 65 20 65 6e 63 6f 64 65 |printabl|e encode|
|00000a70| 72 20 73 70 65 63 69 66 | 69 65 64 20 62 79 0a 60 |r specif|ied by.`|
|00000a80| 71 75 6f 74 65 64 2d 70 | 72 69 6e 74 61 62 6c 65 |quoted-p|rintable|
|00000a90| 2d 65 78 74 65 72 6e 61 | 6c 2d 65 6e 63 6f 64 65 |-externa|l-encode|
|00000aa0| 72 27 2e 20 20 49 6e 20 | 74 68 69 73 20 63 61 73 |r'. In |this cas|
|00000ab0| 65 2c 20 79 6f 75 20 6d | 75 73 74 20 69 6e 73 74 |e, you m|ust inst|
|00000ac0| 61 6c 6c 0a 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |all.the |program |
|00000ad0| 28 6d 61 79 62 65 20 6d | 6d 65 6e 63 6f 64 65 20 |(maybe m|mencode |
|00000ae0| 69 6e 63 6c 75 64 65 64 | 20 69 6e 20 6d 65 74 61 |included| in meta|
|00000af0| 6d 61 69 6c 20 6f 72 20 | 58 45 6d 61 63 73 20 70 |mail or |XEmacs p|
|00000b00| 61 63 6b 61 67 65 29 2e | 1f 0a 28 64 65 66 61 6c |ackage).|..(defal|
|00000b10| 69 61 73 20 27 71 75 6f | 74 65 64 2d 70 72 69 6e |ias 'quo|ted-prin|
|00000b20| 74 61 62 6c 65 2d 65 6e | 63 6f 64 65 2d 72 65 67 |table-en|code-reg|
|00000b30| 69 6f 6e 20 23 5b 28 73 | 74 61 72 74 20 65 6e 64 |ion #[(s|tart end|
|00000b40| 29 20 22 08 ab 8c 09 5c | 6e 5a 08 56 ab 85 c3 5c |) "....\|nZ.V...\|
|00000b50| 6e 09 5c 22 87 c4 5c 6e | 09 5c 22 87 22 20 5b 71 |n.\"..\n|.\"." [q|
|00000b60| 75 6f 74 65 64 2d 70 72 | 69 6e 74 61 62 6c 65 2d |uoted-pr|intable-|
|00000b70| 69 6e 74 65 72 6e 61 6c | 2d 65 6e 63 6f 64 69 6e |internal|-encodin|
|00000b80| 67 2d 6c 69 6d 69 74 20 | 65 6e 64 20 73 74 61 72 |g-limit |end star|
|00000b90| 74 20 71 75 6f 74 65 64 | 2d 70 72 69 6e 74 61 62 |t quoted|-printab|
|00000ba0| 6c 65 2d 65 78 74 65 72 | 6e 61 6c 2d 65 6e 63 6f |le-exter|nal-enco|
|00000bb0| 64 65 2d 72 65 67 69 6f | 6e 20 71 75 6f 74 65 64 |de-regio|n quoted|
|00000bc0| 2d 70 72 69 6e 74 61 62 | 6c 65 2d 69 6e 74 65 72 |-printab|le-inter|
|00000bd0| 6e 61 6c 2d 65 6e 63 6f | 64 65 2d 72 65 67 69 6f |nal-enco|de-regio|
|00000be0| 6e 5d 20 33 20 28 23 24 | 20 2e 20 32 34 31 30 29 |n] 3 (#$| . 2410)|
|00000bf0| 20 22 72 22 5d 29 0a 23 | 40 35 39 20 45 6e 63 6f | "r"]).#|@59 Enco|
|00000c00| 64 65 20 53 54 52 49 4e | 47 20 74 6f 20 71 75 6f |de STRIN|G to quo|
|00000c10| 74 65 64 2d 70 72 69 6e | 74 61 62 6c 65 2c 20 61 |ted-prin|table, a|
|00000c20| 6e 64 20 72 65 74 75 72 | 6e 20 74 68 65 20 72 65 |nd retur|n the re|
|00000c30| 73 75 6c 74 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |sult...(|defalias|
|00000c40| 20 27 71 75 6f 74 65 64 | 2d 70 72 69 6e 74 61 62 | 'quoted|-printab|
|00000c50| 6c 65 2d 65 6e 63 6f 64 | 65 2d 73 74 72 69 6e 67 |le-encod|e-string|
|00000c60| 20 23 5b 28 73 74 72 69 | 6e 67 29 20 22 c0 c1 c2 | #[(stri|ng) "...|
|00000c70| 21 21 1b c4 8e 72 0b 71 | 88 0d 63 88 c6 65 64 5c |!!...r.q|..c..ed\|
|00000c80| 22 88 c7 20 2b 87 22 20 | 5b 67 65 74 2d 62 75 66 |".. +." |[get-buf|
|00000c90| 66 65 72 2d 63 72 65 61 | 74 65 20 67 65 6e 65 72 |fer-crea|te gener|
|00000ca0| 61 74 65 2d 6e 65 77 2d | 62 75 66 66 65 72 2d 6e |ate-new-|buffer-n|
|00000cb0| 61 6d 65 20 22 20 2a 74 | 65 6d 70 2a 22 20 74 65 |ame " *t|emp*" te|
|00000cc0| 6d 70 2d 62 75 66 66 65 | 72 20 28 28 62 79 74 65 |mp-buffe|r ((byte|
|00000cd0| 2d 63 6f 64 65 20 22 c0 | 09 21 ab 84 c2 09 21 88 |-code ".|.!....!.|
|00000ce0| c0 87 22 20 5b 62 75 66 | 66 65 72 2d 6e 61 6d 65 |.." [buf|fer-name|
|00000cf0| 20 74 65 6d 70 2d 62 75 | 66 66 65 72 20 6b 69 6c | temp-bu|ffer kil|
|00000d00| 6c 2d 62 75 66 66 65 72 | 5d 20 32 29 29 20 73 74 |l-buffer|] 2)) st|
|00000d10| 72 69 6e 67 20 71 75 6f | 74 65 64 2d 70 72 69 6e |ring quo|ted-prin|
|00000d20| 74 61 62 6c 65 2d 65 6e | 63 6f 64 65 2d 72 65 67 |table-en|code-reg|
|00000d30| 69 6f 6e 20 62 75 66 66 | 65 72 2d 73 74 72 69 6e |ion buff|er-strin|
|00000d40| 67 5d 20 33 20 28 23 24 | 20 2e 20 33 30 36 38 29 |g] 3 (#$| . 3068)|
|00000d50| 5d 29 0a 23 40 32 36 31 | 20 45 6e 63 6f 64 65 20 |]).#@261| Encode |
|00000d60| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 66 69 6c 65 |contents| of file|
|00000d70| 20 46 49 4c 45 4e 41 4d | 45 20 74 6f 20 71 75 6f | FILENAM|E to quo|
|00000d80| 74 65 64 2d 70 72 69 6e | 74 61 62 6c 65 2c 20 61 |ted-prin|table, a|
|00000d90| 6e 64 20 69 6e 73 65 72 | 74 20 74 68 65 20 72 65 |nd inser|t the re|
|00000da0| 73 75 6c 74 2e 0a 49 74 | 20 63 61 6c 6c 73 20 65 |sult..It| calls e|
|00000db0| 78 74 65 72 6e 61 6c 20 | 71 75 6f 74 65 64 2d 70 |xternal |quoted-p|
|00000dc0| 72 69 6e 74 61 62 6c 65 | 20 65 6e 63 6f 64 65 72 |rintable| encoder|
|00000dd0| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 0a 60 71 | specifi|ed by.`q|
|00000de0| 75 6f 74 65 64 2d 70 72 | 69 6e 74 61 62 6c 65 2d |uoted-pr|intable-|
|00000df0| 65 78 74 65 72 6e 61 6c | 2d 65 6e 63 6f 64 65 72 |external|-encoder|
|00000e00| 27 2e 20 20 53 6f 20 79 | 6f 75 20 6d 75 73 74 20 |'. So y|ou must |
|00000e10| 69 6e 73 74 61 6c 6c 20 | 74 68 65 20 70 72 6f 67 |install |the prog|
|00000e20| 72 61 6d 0a 28 6d 61 79 | 62 65 20 6d 6d 65 6e 63 |ram.(may|be mmenc|
|00000e30| 6f 64 65 20 69 6e 63 6c | 75 64 65 64 20 69 6e 20 |ode incl|uded in |
|00000e40| 6d 65 74 61 6d 61 69 6c | 20 6f 72 20 58 45 6d 61 |metamail| or XEma|
|00000e50| 63 73 20 70 61 63 6b 61 | 67 65 29 2e 1f 0a 28 64 |cs packa|ge)...(d|
|00000e60| 65 66 61 6c 69 61 73 20 | 27 71 75 6f 74 65 64 2d |efalias |'quoted-|
|00000e70| 70 72 69 6e 74 61 62 6c | 65 2d 69 6e 73 65 72 74 |printabl|e-insert|
|00000e80| 2d 65 6e 63 6f 64 65 64 | 2d 66 69 6c 65 20 23 5b |-encoded|-file #[|
|00000e90| 28 66 69 6c 65 6e 61 6d | 65 29 20 22 c0 c1 5c 6e |(filenam|e) "..\n|
|00000ea0| 40 0b c4 c5 5c 6e 41 26 | 06 87 22 20 5b 61 70 70 |@...\nA&|.." [app|
|00000eb0| 6c 79 20 63 61 6c 6c 2d | 70 72 6f 63 65 73 73 20 |ly call-|process |
|00000ec0| 71 75 6f 74 65 64 2d 70 | 72 69 6e 74 61 62 6c 65 |quoted-p|rintable|
|00000ed0| 2d 65 78 74 65 72 6e 61 | 6c 2d 65 6e 63 6f 64 65 |-externa|l-encode|
|00000ee0| 72 20 66 69 6c 65 6e 61 | 6d 65 20 74 20 6e 69 6c |r filena|me t nil|
|00000ef0| 5d 20 37 20 28 23 24 20 | 2e 20 33 34 31 37 29 20 |] 7 (#$ |. 3417) |
|00000f00| 28 6c 69 73 74 20 28 72 | 65 61 64 2d 66 69 6c 65 |(list (r|ead-file|
|00000f10| 2d 6e 61 6d 65 20 22 49 | 6e 73 65 72 74 20 65 6e |-name "I|nsert en|
|00000f20| 63 6f 64 65 64 20 66 69 | 6c 65 3a 20 22 29 29 5d |coded fi|le: "))]|
|00000f30| 29 0a 23 40 37 36 20 44 | 65 63 6f 64 65 20 53 54 |).#@76 D|ecode ST|
|00000f40| 52 49 4e 47 20 77 68 69 | 63 68 20 69 73 20 65 6e |RING whi|ch is en|
|00000f50| 63 6f 64 65 64 20 69 6e | 20 71 75 6f 74 65 64 2d |coded in| quoted-|
|00000f60| 70 72 69 6e 74 61 62 6c | 65 2c 20 61 6e 64 20 72 |printabl|e, and r|
|00000f70| 65 74 75 72 6e 20 74 68 | 65 20 72 65 73 75 6c 74 |eturn th|e result|
|00000f80| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 71 75 |...(defa|lias 'qu|
|00000f90| 6f 74 65 64 2d 70 72 69 | 6e 74 61 62 6c 65 2d 64 |oted-pri|ntable-d|
|00000fa0| 65 63 6f 64 65 2d 73 74 | 72 69 6e 67 20 23 5b 28 |ecode-st|ring #[(|
|00000fb0| 73 74 72 69 6e 67 29 20 | 22 c0 89 89 19 1a 1b c4 |string) |".......|
|00000fc0| c5 0e 06 c7 23 2b 87 22 | 20 5b 6e 69 6c 20 6c 20 |....#+."| [nil l |
|00000fd0| 68 20 71 20 6d 61 70 63 | 6f 6e 63 61 74 20 23 5b |h q mapc|oncat #[|
|00000fe0| 28 63 68 72 29 20 22 08 | c1 61 ab 84 c2 13 c4 87 |(chr) ".|.a......|
|00000ff0| 0b ab a6 c5 08 58 ab 87 | 08 c5 5a c6 5c 5c aa 94 |.....X..|..Z.\\..|
|00001000| c7 08 58 ab 87 08 c7 5a | c6 5c 5c aa 88 c8 08 58 |..X....Z|.\\....X|
|00001010| ad 83 08 c8 5a 16 09 ca | 13 c4 87 0e 09 ab b1 c5 |....Z...|........|
|00001020| 08 58 ab 87 08 c5 5a c6 | 5c 5c aa 94 c7 08 58 ab |.X....Z.|\\....X.|
|00001030| 87 08 c7 5a c6 5c 5c aa | 88 c8 08 58 ad 83 08 c8 |...Z.\\.|...X....|
|00001040| 5a 16 0b cc cd ce 0e 09 | cf 5c 22 0e 0b 5c 22 21 |Z.......|.\"..\"!|
|00001050| ca 16 09 87 cc 08 21 87 | 22 20 5b 63 68 72 20 3f |......!.|" [chr ?|
|00001060| 5c 3d 20 74 20 71 20 22 | 22 20 3f 61 20 31 30 20 |\= t q "|" ?a 10 |
|00001070| 3f 41 20 3f 30 20 68 20 | 6e 69 6c 20 6c 20 63 68 |?A ?0 h |nil l ch|
|00001080| 61 72 2d 74 6f 2d 73 74 | 72 69 6e 67 20 6c 6f 67 |ar-to-st|ring log|
|00001090| 69 6f 72 20 61 73 68 20 | 34 5d 20 35 5d 20 73 74 |ior ash |4] 5] st|
|000010a0| 72 69 6e 67 20 22 22 5d | 20 34 20 28 23 24 20 2e |ring ""]| 4 (#$ .|
|000010b0| 20 33 38 39 35 29 5d 29 | 0a 28 62 79 74 65 2d 63 | 3895)])|.(byte-c|
|000010c0| 6f 64 65 20 22 c0 09 c2 | 09 c3 b0 05 14 c4 0d 42 |ode "...|.......B|
|000010d0| 15 c4 87 22 20 5b 22 3d | 5b 22 20 71 75 6f 74 65 |..." ["=|[" quote|
|000010e0| 64 2d 70 72 69 6e 74 61 | 62 6c 65 2d 68 65 78 2d |d-printa|ble-hex-|
|000010f0| 63 68 61 72 73 20 22 5d | 5b 22 20 22 5d 22 20 71 |chars "]|[" "]" q|
|00001100| 75 6f 74 65 64 2d 70 72 | 69 6e 74 61 62 6c 65 2d |uoted-pr|intable-|
|00001110| 6f 63 74 65 74 2d 72 65 | 67 65 78 70 20 63 75 72 |octet-re|gexp cur|
|00001120| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 5d 20 |rent-loa|d-list] |
|00001130| 35 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 71 75 |5).(defa|lias 'qu|
|00001140| 6f 74 65 64 2d 70 72 69 | 6e 74 61 62 6c 65 2d 69 |oted-pri|ntable-i|
|00001150| 6e 74 65 72 6e 61 6c 2d | 64 65 63 6f 64 65 2d 72 |nternal-|decode-r|
|00001160| 65 67 69 6f 6e 20 23 5b | 28 73 74 61 72 74 20 65 |egion #[|(start e|
|00001170| 6e 64 29 20 22 8a 8c 08 | 09 7d 88 65 62 88 c2 c3 |nd) "...|.}.eb...|
|00001180| c4 c5 23 ab 86 c6 c7 21 | 88 aa 73 65 62 88 c4 89 |..#....!|..seb...|
|00001190| 89 1e 08 1e 09 1e 5c 6e | c2 0e 0b c4 c5 23 ad 9d |......\n|.....#..|
|000011a0| cc 94 16 5c 6e cc 95 16 | 09 0e 5c 6e 0e 09 7b 16 |...\n...|..\n..{.|
|000011b0| 08 0e 5c 6e 0e 09 7c 88 | cd 0e 08 21 63 88 aa 5b |..\n..|.|...!c..[|
|000011c0| 2d 87 22 20 5b 73 74 61 | 72 74 20 65 6e 64 20 72 |-." [sta|rt end r|
|000011d0| 65 2d 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e-search|-forward|
|000011e0| 20 22 3d 5c 6e 22 20 6e | 69 6c 20 74 20 72 65 70 | "=\n" n|il t rep|
|000011f0| 6c 61 63 65 2d 6d 61 74 | 63 68 20 22 22 20 73 74 |lace-mat|ch "" st|
|00001200| 72 20 65 20 62 20 71 75 | 6f 74 65 64 2d 70 72 69 |r e b qu|oted-pri|
|00001210| 6e 74 61 62 6c 65 2d 6f | 63 74 65 74 2d 72 65 67 |ntable-o|ctet-reg|
|00001220| 65 78 70 20 30 20 71 75 | 6f 74 65 64 2d 70 72 69 |exp 0 qu|oted-pri|
|00001230| 6e 74 61 62 6c 65 2d 64 | 65 63 6f 64 65 2d 73 74 |ntable-d|ecode-st|
|00001240| 72 69 6e 67 5d 20 34 5d | 29 0a 23 40 36 37 20 2a |ring] 4]|).#@67 *|
|00001250| 6c 69 73 74 20 6f 66 20 | 71 75 6f 74 65 64 2d 70 |list of |quoted-p|
|00001260| 72 69 6e 74 61 62 6c 65 | 20 64 65 63 6f 64 65 72 |rintable| decoder|
|00001270| 20 70 72 6f 67 72 61 6d | 20 6e 61 6d 65 20 61 6e | program| name an|
|00001280| 64 20 69 74 73 20 61 72 | 67 75 6d 65 6e 74 73 2e |d its ar|guments.|
|00001290| 1f 0a 28 64 65 66 76 61 | 72 20 71 75 6f 74 65 64 |..(defva|r quoted|
|000012a0| 2d 70 72 69 6e 74 61 62 | 6c 65 2d 65 78 74 65 72 |-printab|le-exter|
|000012b0| 6e 61 6c 2d 64 65 63 6f | 64 65 72 20 27 28 22 6d |nal-deco|der '("m|
|000012c0| 6d 65 6e 63 6f 64 65 22 | 20 22 2d 71 22 20 22 2d |mencode"| "-q" "-|
|000012d0| 75 22 29 20 28 23 24 20 | 2e 20 2d 34 36 38 37 29 |u") (#$ |. -4687)|
|000012e0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 71 75 6f |).(defal|ias 'quo|
|000012f0| 74 65 64 2d 70 72 69 6e | 74 61 62 6c 65 2d 65 78 |ted-prin|table-ex|
|00001300| 74 65 72 6e 61 6c 2d 64 | 65 63 6f 64 65 2d 72 65 |ternal-d|ecode-re|
|00001310| 67 69 6f 6e 20 23 5b 28 | 73 74 61 72 74 20 65 6e |gion #[(|start en|
|00001320| 64 29 20 22 8a c0 c1 89 | 1a 1b 1c c5 c6 0e 07 0e |d) "....|........|
|00001330| 08 0e 09 40 ca 89 c0 0e | 09 41 26 08 2c 87 22 20 |...@....|.A&.,." |
|00001340| 5b 6e 69 6c 20 62 69 6e | 61 72 79 20 63 6f 64 69 |[nil bin|ary codi|
|00001350| 6e 67 2d 73 79 73 74 65 | 6d 2d 66 6f 72 2d 77 72 |ng-syste|m-for-wr|
|00001360| 69 74 65 20 63 6f 64 69 | 6e 67 2d 73 79 73 74 65 |ite codi|ng-syste|
|00001370| 6d 2d 66 6f 72 2d 72 65 | 61 64 20 73 65 6c 65 63 |m-for-re|ad selec|
|00001380| 74 69 76 65 2d 64 69 73 | 70 6c 61 79 20 61 70 70 |tive-dis|play app|
|00001390| 6c 79 20 63 61 6c 6c 2d | 70 72 6f 63 65 73 73 2d |ly call-|process-|
|000013a0| 72 65 67 69 6f 6e 20 73 | 74 61 72 74 20 65 6e 64 |region s|tart end|
|000013b0| 20 71 75 6f 74 65 64 2d | 70 72 69 6e 74 61 62 6c | quoted-|printabl|
|000013c0| 65 2d 65 78 74 65 72 6e | 61 6c 2d 64 65 63 6f 64 |e-extern|al-decod|
|000013d0| 65 72 20 74 5d 20 39 5d | 29 0a 23 40 31 33 37 20 |er t] 9]|).#@137 |
|000013e0| 2a 6c 69 6d 69 74 20 73 | 69 7a 65 20 74 6f 20 75 |*limit s|ize to u|
|000013f0| 73 65 20 69 6e 74 65 72 | 6e 61 6c 20 71 75 6f 74 |se inter|nal quot|
|00001400| 65 64 2d 70 72 69 6e 74 | 61 62 6c 65 20 64 65 63 |ed-print|able dec|
|00001410| 6f 64 65 72 2e 0a 49 66 | 20 73 69 7a 65 20 6f 66 |oder..If| size of|
|00001420| 20 69 6e 70 75 74 20 74 | 6f 20 64 65 63 6f 64 65 | input t|o decode|
|00001430| 20 69 73 20 6c 61 72 67 | 65 72 20 74 68 61 6e 20 | is larg|er than |
|00001440| 74 68 69 73 20 6c 69 6d | 69 74 2c 0a 65 78 74 65 |this lim|it,.exte|
|00001450| 72 6e 61 6c 20 64 65 63 | 6f 64 65 72 20 69 73 20 |rnal dec|oder is |
|00001460| 63 61 6c 6c 65 64 2e 1f | 0a 28 64 65 66 76 61 72 |called..|.(defvar|
|00001470| 20 71 75 6f 74 65 64 2d | 70 72 69 6e 74 61 62 6c | quoted-|printabl|
|00001480| 65 2d 69 6e 74 65 72 6e | 61 6c 2d 64 65 63 6f 64 |e-intern|al-decod|
|00001490| 69 6e 67 2d 6c 69 6d 69 | 74 20 6e 69 6c 20 28 23 |ing-limi|t nil (#|
|000014a0| 24 20 2e 20 2d 35 30 38 | 38 29 29 0a 23 40 34 31 |$ . -508|8)).#@41|
|000014b0| 36 20 44 65 63 6f 64 65 | 20 63 75 72 72 65 6e 74 |6 Decode| current|
|000014c0| 20 72 65 67 69 6f 6e 20 | 62 79 20 71 75 6f 74 65 | region |by quote|
|000014d0| 64 2d 70 72 69 6e 74 61 | 62 6c 65 2e 0a 53 54 41 |d-printa|ble..STA|
|000014e0| 52 54 20 61 6e 64 20 45 | 4e 44 20 61 72 65 20 62 |RT and E|ND are b|
|000014f0| 75 66 66 65 72 20 70 6f | 73 69 74 69 6f 6e 73 2e |uffer po|sitions.|
|00001500| 0a 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 63 |.This fu|nction c|
|00001510| 61 6c 6c 73 20 69 6e 74 | 65 72 6e 61 6c 20 71 75 |alls int|ernal qu|
|00001520| 6f 74 65 64 2d 70 72 69 | 6e 74 61 62 6c 65 20 64 |oted-pri|ntable d|
|00001530| 65 63 6f 64 65 72 20 69 | 66 20 73 69 7a 65 20 6f |ecoder i|f size o|
|00001540| 66 0a 72 65 67 69 6f 6e | 20 69 73 20 73 6d 61 6c |f.region| is smal|
|00001550| 6c 65 72 20 74 68 61 6e | 20 60 71 75 6f 74 65 64 |ler than| `quoted|
|00001560| 2d 70 72 69 6e 74 61 62 | 6c 65 2d 69 6e 74 65 72 |-printab|le-inter|
|00001570| 6e 61 6c 2d 64 65 63 6f | 64 69 6e 67 2d 6c 69 6d |nal-deco|ding-lim|
|00001580| 69 74 27 2c 0a 6f 74 68 | 65 72 77 69 73 65 20 69 |it',.oth|erwise i|
|00001590| 74 20 63 61 6c 6c 73 20 | 65 78 74 65 72 6e 61 6c |t calls |external|
|000015a0| 20 71 75 6f 74 65 64 2d | 70 72 69 6e 74 61 62 6c | quoted-|printabl|
|000015b0| 65 20 64 65 63 6f 64 65 | 72 20 73 70 65 63 69 66 |e decode|r specif|
|000015c0| 69 65 64 20 62 79 0a 60 | 71 75 6f 74 65 64 2d 70 |ied by.`|quoted-p|
|000015d0| 72 69 6e 74 61 62 6c 65 | 2d 65 78 74 65 72 6e 61 |rintable|-externa|
|000015e0| 6c 2d 64 65 63 6f 64 65 | 72 27 2e 20 20 49 6e 20 |l-decode|r'. In |
|000015f0| 74 68 69 73 20 63 61 73 | 65 2c 20 79 6f 75 20 6d |this cas|e, you m|
|00001600| 75 73 74 20 69 6e 73 74 | 61 6c 6c 0a 74 68 65 20 |ust inst|all.the |
|00001610| 70 72 6f 67 72 61 6d 20 | 28 6d 61 79 62 65 20 6d |program |(maybe m|
|00001620| 6d 65 6e 63 6f 64 65 20 | 69 6e 63 6c 75 64 65 64 |mencode |included|
|00001630| 20 69 6e 20 6d 65 74 61 | 6d 61 69 6c 20 6f 72 20 | in meta|mail or |
|00001640| 58 45 6d 61 63 73 20 70 | 61 63 6b 61 67 65 29 2e |XEmacs p|ackage).|
|00001650| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 71 75 6f |..(defal|ias 'quo|
|00001660| 74 65 64 2d 70 72 69 6e | 74 61 62 6c 65 2d 64 65 |ted-prin|table-de|
|00001670| 63 6f 64 65 2d 72 65 67 | 69 6f 6e 20 23 5b 28 73 |code-reg|ion #[(s|
|00001680| 74 61 72 74 20 65 6e 64 | 29 20 22 08 ab 8c 09 5c |tart end|) "....\|
|00001690| 6e 5a 08 56 ab 85 c3 5c | 6e 09 5c 22 87 c4 5c 6e |nZ.V...\|n.\"..\n|
|000016a0| 09 5c 22 87 22 20 5b 71 | 75 6f 74 65 64 2d 70 72 |.\"." [q|uoted-pr|
|000016b0| 69 6e 74 61 62 6c 65 2d | 69 6e 74 65 72 6e 61 6c |intable-|internal|
|000016c0| 2d 64 65 63 6f 64 69 6e | 67 2d 6c 69 6d 69 74 20 |-decodin|g-limit |
|000016d0| 65 6e 64 20 73 74 61 72 | 74 20 71 75 6f 74 65 64 |end star|t quoted|
|000016e0| 2d 70 72 69 6e 74 61 62 | 6c 65 2d 65 78 74 65 72 |-printab|le-exter|
|000016f0| 6e 61 6c 2d 64 65 63 6f | 64 65 2d 72 65 67 69 6f |nal-deco|de-regio|
|00001700| 6e 20 71 75 6f 74 65 64 | 2d 70 72 69 6e 74 61 62 |n quoted|-printab|
|00001710| 6c 65 2d 69 6e 74 65 72 | 6e 61 6c 2d 64 65 63 6f |le-inter|nal-deco|
|00001720| 64 65 2d 72 65 67 69 6f | 6e 5d 20 33 20 28 23 24 |de-regio|n] 3 (#$|
|00001730| 20 2e 20 35 32 39 38 29 | 20 22 72 22 5d 29 0a 28 | . 5298)| "r"]).(|
|00001740| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 11 c1 5c 6e |byte-cod|e "...\n|
|00001750| 42 12 c1 87 22 20 5b 28 | 28 74 65 78 74 20 3f 5c |B..." [(|(text ?\|
|00001760| 3d 20 3f 5c 3f 20 3f 5c | 5f 29 20 28 63 6f 6d 6d |= ?\? ?\|_) (comm|
|00001770| 65 6e 74 20 3f 5c 3d 20 | 3f 5c 3f 20 3f 5c 5f 20 |ent ?\= |?\? ?\_ |
|00001780| 3f 5c 28 20 3f 5c 29 20 | 3f 5c 5c 29 20 28 70 68 |?\( ?\) |?\\) (ph|
|00001790| 72 61 73 65 20 3f 5c 3d | 20 3f 5c 3f 20 3f 5c 5f |rase ?\=| ?\? ?\_|
|000017a0| 20 3f 5c 28 20 3f 5c 29 | 20 3f 5c 5c 20 3f 5c 22 | ?\( ?\)| ?\\ ?\"|
|000017b0| 20 3f 5c 23 20 3f 5c 24 | 20 3f 5c 25 20 3f 5c 26 | ?\# ?\$| ?\% ?\&|
|000017c0| 20 3f 5c 27 20 3f 5c 2c | 20 3f 5c 2e 20 3f 5c 2f | ?\' ?\,| ?\. ?\/|
|000017d0| 20 3f 5c 3a 20 3f 5c 3b | 20 3f 5c 3c 20 3f 5c 3e | ?\: ?\;| ?\< ?\>|
|000017e0| 20 3f 5c 40 20 3f 5c 5b | 20 3f 5c 5d 20 3f 5e 20 | ?\@ ?\[| ?\] ?^ |
|000017f0| 3f 5c 60 20 3f 5c 7b 20 | 3f 5c 7c 20 3f 5c 7d 20 |?\` ?\{ |?\| ?\} |
|00001800| 3f 5c 7e 29 29 20 71 2d | 65 6e 63 6f 64 69 6e 67 |?\~)) q-|encoding|
|00001810| 2d 73 70 65 63 69 61 6c | 2d 63 68 61 72 73 2d 61 |-special|-chars-a|
|00001820| 6c 69 73 74 20 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |list cur|rent-loa|
|00001830| 64 2d 6c 69 73 74 5d 20 | 32 29 0a 23 40 31 34 35 |d-list] |2).#@145|
|00001840| 20 45 6e 63 6f 64 65 20 | 53 54 52 49 4e 47 20 74 | Encode |STRING t|
|00001850| 6f 20 51 2d 65 6e 63 6f | 64 69 6e 67 20 6f 66 20 |o Q-enco|ding of |
|00001860| 65 6e 63 6f 64 65 64 2d | 77 6f 72 64 2c 20 61 6e |encoded-|word, an|
|00001870| 64 20 72 65 74 75 72 6e | 20 74 68 65 20 72 65 73 |d return| the res|
|00001880| 75 6c 74 2e 0a 4d 4f 44 | 45 20 61 6c 6c 6f 77 73 |ult..MOD|E allows|
|00001890| 20 60 74 65 78 74 27 2c | 20 60 63 6f 6d 6d 65 6e | `text',| `commen|
|000018a0| 74 27 2c 20 60 70 68 72 | 61 73 65 27 20 6f 72 20 |t', `phr|ase' or |
|000018b0| 6e 69 6c 2e 20 20 44 65 | 66 61 75 6c 74 20 76 61 |nil. De|fault va|
|000018c0| 6c 75 65 20 69 73 0a 60 | 70 68 72 61 73 65 27 2e |lue is.`|phrase'.|
|000018d0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 71 2d 65 |..(defal|ias 'q-e|
|000018e0| 6e 63 6f 64 69 6e 67 2d | 65 6e 63 6f 64 65 2d 73 |ncoding-|encode-s|
|000018f0| 74 72 69 6e 67 20 23 5b | 28 73 74 72 69 6e 67 20 |tring #[|(string |
|00001900| 26 6f 70 74 69 6f 6e 61 | 6c 20 6d 6f 64 65 29 20 |&optiona|l mode) |
|00001910| 22 08 09 b7 ae 83 c2 09 | b7 41 1b c4 c5 0e 06 c7 |".......|.A......|
|00001920| 23 29 87 22 20 5b 6d 6f | 64 65 20 71 2d 65 6e 63 |#)." [mo|de q-enc|
|00001930| 6f 64 69 6e 67 2d 73 70 | 65 63 69 61 6c 2d 63 68 |oding-sp|ecial-ch|
|00001940| 61 72 73 2d 61 6c 69 73 | 74 20 70 68 72 61 73 65 |ars-alis|t phrase|
|00001950| 20 73 70 65 63 69 61 6c | 73 20 6d 61 70 63 6f 6e | special|s mapcon|
|00001960| 63 61 74 20 23 5b 28 63 | 68 72 29 20 22 08 c1 61 |cat #[(c|hr) "..a|
|00001970| ab 82 c2 87 08 c3 57 ac | 8a c4 08 57 ac 85 08 0d |......W.|...W....|
|00001980| 73 ab 9b 08 1e 06 c7 c8 | 0e 09 ca 0e 06 cb 5c 22 |s.......|......\"|
|00001990| 48 21 c8 0e 09 cc 0e 06 | cd 5c 22 48 21 51 29 87 |H!......|.\"H!Q).|
|000019a0| c8 08 21 87 22 20 5b 63 | 68 72 20 3f 5c 20 20 22 |..!." [c|hr ?\ "|
|000019b0| 5f 22 20 33 32 20 31 32 | 36 20 73 70 65 63 69 61 |_" 32 12|6 specia|
|000019c0| 6c 73 20 63 68 61 72 61 | 63 74 65 72 20 22 3d 22 |ls chara|cter "="|
|000019d0| 20 63 68 61 72 2d 74 6f | 2d 73 74 72 69 6e 67 20 | char-to|-string |
|000019e0| 71 75 6f 74 65 64 2d 70 | 72 69 6e 74 61 62 6c 65 |quoted-p|rintable|
|000019f0| 2d 68 65 78 2d 63 68 61 | 72 73 20 61 73 68 20 2d |-hex-cha|rs ash -|
|00001a00| 34 20 6c 6f 67 61 6e 64 | 20 31 35 5d 20 37 5d 20 |4 logand| 15] 7] |
|00001a10| 73 74 72 69 6e 67 20 22 | 22 5d 20 34 20 28 23 24 |string "|"] 4 (#$|
|00001a20| 20 2e 20 36 32 30 39 29 | 5d 29 0a 23 40 36 39 20 | . 6209)|]).#@69 |
|00001a30| 44 65 63 6f 64 65 20 53 | 54 52 49 4e 47 20 77 68 |Decode S|TRING wh|
|00001a40| 69 63 68 20 69 73 20 65 | 6e 63 6f 64 65 64 20 69 |ich is e|ncoded i|
|00001a50| 6e 20 51 2d 65 6e 63 6f | 64 69 6e 67 20 61 6e 64 |n Q-enco|ding and|
|00001a60| 20 72 65 74 75 72 6e 20 | 74 68 65 20 72 65 73 75 | return |the resu|
|00001a70| 6c 74 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |lt...(de|falias '|
|00001a80| 71 2d 65 6e 63 6f 64 69 | 6e 67 2d 64 65 63 6f 64 |q-encodi|ng-decod|
|00001a90| 65 2d 73 74 72 69 6e 67 | 20 23 5b 28 73 74 72 69 |e-string| #[(stri|
|00001aa0| 6e 67 29 20 22 c0 89 89 | 19 1a 1b c4 c5 0e 06 c7 |ng) "...|........|
|00001ab0| 23 2b 87 22 20 5b 6e 69 | 6c 20 6c 20 68 20 71 20 |#+." [ni|l l h q |
|00001ac0| 6d 61 70 63 6f 6e 63 61 | 74 20 23 5b 28 63 68 72 |mapconca|t #[(chr|
|00001ad0| 29 20 22 08 c1 61 ab 82 | c2 87 08 c3 61 ab 84 c4 |) "..a..|....a...|
|00001ae0| 15 c6 87 0d ab a6 c7 08 | 58 ab 87 08 c7 5a c8 5c |........|X....Z.\|
|00001af0| 5c aa 94 c9 08 58 ab 87 | 08 c9 5a c8 5c 5c aa 88 |\....X..|..Z.\\..|
|00001b00| ca 08 58 ad 83 08 ca 5a | 16 0b cc 15 c6 87 0e 0b |..X....Z|........|
|00001b10| ab b1 c7 08 58 ab 87 08 | c7 5a c8 5c 5c aa 94 c9 |....X...|.Z.\\...|
|00001b20| 08 58 ab 87 08 c9 5a c8 | 5c 5c aa 88 ca 08 58 ad |.X....Z.|\\....X.|
|00001b30| 83 08 ca 5a 16 0d ce cf | d0 0e 0b d1 5c 22 0e 0d |...Z....|....\"..|
|00001b40| 5c 22 21 cc 16 0b 87 ce | 08 21 87 22 20 5b 63 68 |\"!.....|.!." [ch|
|00001b50| 72 20 3f 5c 5f 20 22 20 | 22 20 3f 5c 3d 20 74 20 |r ?\_ " |" ?\= t |
|00001b60| 71 20 22 22 20 3f 61 20 | 31 30 20 3f 41 20 3f 30 |q "" ?a |10 ?A ?0|
|00001b70| 20 68 20 6e 69 6c 20 6c | 20 63 68 61 72 2d 74 6f | h nil l| char-to|
|00001b80| 2d 73 74 72 69 6e 67 20 | 6c 6f 67 69 6f 72 20 61 |-string |logior a|
|00001b90| 73 68 20 34 5d 20 35 5d | 20 73 74 72 69 6e 67 20 |sh 4] 5]| string |
|00001ba0| 22 22 5d 20 34 20 28 23 | 24 20 2e 20 36 37 30 34 |""] 4 (#|$ . 6704|
|00001bb0| 29 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 71 |)]).(def|alias 'q|
|00001bc0| 2d 65 6e 63 6f 64 69 6e | 67 2d 70 72 69 6e 74 61 |-encodin|g-printa|
|00001bd0| 62 6c 65 2d 63 68 61 72 | 2d 70 20 23 5b 28 63 68 |ble-char|-p #[(ch|
|00001be0| 72 20 6d 6f 64 65 29 20 | 22 08 c1 73 3f ad a1 c2 |r mode) |"..s?...|
|00001bf0| 08 58 ad 9c 08 c3 58 ad | 97 0c c5 61 ab 82 c6 87 |.X....X.|...a....|
|00001c00| 0c c7 61 ab 85 08 c8 73 | 3f 87 c9 ca cb 08 21 5c |..a....s|?.....!\|
|00001c10| 22 87 22 20 5b 63 68 72 | 20 28 3f 5c 3d 20 3f 5c |"." [chr| (?\= ?\|
|00001c20| 3f 20 3f 5c 5f 29 20 3f | 5c 20 20 3f 5c 7e 20 6d |? ?\_) ?|\ ?\~ m|
|00001c30| 6f 64 65 20 74 65 78 74 | 20 74 20 63 6f 6d 6d 65 |ode text| t comme|
|00001c40| 6e 74 20 28 3f 5c 28 20 | 3f 5c 29 20 3f 5c 5c 29 |nt (?\( |?\) ?\\)|
|00001c50| 20 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 5b | string-|match "[|
|00001c60| 41 2d 5a 61 2d 7a 30 2d | 39 21 2a 2b 2f 3d 5f 2d |A-Za-z0-|9!*+/=_-|
|00001c70| 2d 2d 5d 22 20 63 68 61 | 72 2d 74 6f 2d 73 74 72 |--]" cha|r-to-str|
|00001c80| 69 6e 67 5d 20 34 5d 29 | 0a 28 64 65 66 61 6c 69 |ing] 4])|.(defali|
|00001c90| 61 73 20 27 71 2d 65 6e | 63 6f 64 69 6e 67 2d 65 |as 'q-en|coding-e|
|00001ca0| 6e 63 6f 64 65 64 2d 6c | 65 6e 67 74 68 20 23 5b |ncoded-l|ength #[|
|00001cb0| 28 73 74 72 69 6e 67 20 | 26 6f 70 74 69 6f 6e 61 |(string |&optiona|
|00001cc0| 6c 20 6d 6f 64 65 29 20 | 22 c0 89 09 47 c2 1b 1c |l mode) |"...G...|
|00001cd0| 1d 1e 06 0d 0c 57 ab 9e | 09 0d 9c 13 c7 0b 0e 08 |.....W..|........|
|00001ce0| 5c 22 ab 87 0e 06 54 16 | 06 aa 86 0e 06 c9 5c 5c |\"....T.|......\\|
|00001cf0| 16 06 0d 54 89 15 aa 5e | 0e 06 2c 87 22 20 5b 30 |...T...^|..,." [0|
|00001d00| 20 73 74 72 69 6e 67 20 | 6e 69 6c 20 63 68 72 20 | string |nil chr |
|00001d10| 6c 65 6e 20 69 20 6c 20 | 71 2d 65 6e 63 6f 64 69 |len i l |q-encodi|
|00001d20| 6e 67 2d 70 72 69 6e 74 | 61 62 6c 65 2d 63 68 61 |ng-print|able-cha|
|00001d30| 72 2d 70 20 6d 6f 64 65 | 20 33 5d 20 35 5d 29 0a |r-p mode| 3] 5]).|
|00001d40| 28 70 72 6f 76 69 64 65 | 20 27 6d 65 6c 2d 71 29 |(provide| 'mel-q)|
|00001d50| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+